home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8759 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  783 b 

  1. Path: news.acns.nwu.edu!spice
  2. From: sen@nwu.edu (Subhro K. Sen)
  3. Newsgroups: comp.lang.c
  4. Subject: Command line arguments
  5. Date: Wed, 06 Mar 96 09:44:18 GMT
  6. Organization: Northwestern University, Evanston, IL.   USA
  7. Message-ID: <4hjmpi$cuc_003@res-hall.nwu.edu>
  8. NNTP-Posting-Host: spice.res-hall.nwu.edu
  9. X-Newsreader: News Xpress Version 1.0 Beta #4
  10.  
  11. I want to pass a filename to a C program for reading (and or writing).
  12. How do I grab this command line argument from within the program?
  13.  
  14. Thanks!
  15.  
  16.  
  17. --
  18. sen@nwu.edu                                         s u b h r o  s e n
  19. http://www.eecs.nwu.edu/~sksen/                northwestern university
  20. PGP key: finger sksen@merle.acns.nwu.edu      2245 sheridan road, #409
  21. phone: (847)332-5252                          evanston, illinois 60201
  22.